package bingo.action;

import net.bingosoft.common.struts.ActionContext;
import bingo.common.annotation.BeanDefination;
import bingo.spring.context.ContextLoaderListener;

/**
 * Feb 28, 2009 6:50:44 PM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:在运行时重新加载Spring 上下文的Action
 * ChangeLog:
 */
@BeanDefination("springContext")
public class ContextReLoadAction {
	
	public void reload(){
		ContextLoaderListener.reloadContext();
		ActionContext.renderHtml("重新加载Spring配置文件成功!");
	}

}
